<?php

namespace StudyBuddy;

/**
 * A Dummy object
 * it acts as a Captcha class but
 * does not do much, only returns empty strings
 * for most of the method calls
 * and returns 1 to validate_captcha, pretending
 * that captcha has been validated
 *
 */
class CaptchaStub extends Stub {

    public function validate_submit() {
        return 1;
    }

    public function getCaptchaArray() {
        return array(
            'img' => '',
            'public_key' => '',
            'hncaptcha' => '');
    }

}
